<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<title>${course.name }</title>
	<meta name="decorator" content="ems_default_front"/>
	<meta name="description" content="${course.name }" />
	<meta name="keywords" content="${course.name }" />
	<script type="text/javascript">
	function toQRcodePay(orderId)
	{
		location = "${ctx}/ems/toQRcodePay?order.id=" + orderId;
	}
	</script>
</head>
<body>
	<div class="content">
 	<div class="weizhi">
		<div class="fl wz1"><img src="${ctxStatic }/sxdw/img/wzico.png"/></div>
		<div class="fl wz2">当前位置：<A href="${ctx }">首页</A>--${course.name }<a href="${ctx}/ems/joinSearch?sign=${course.sign}" class="selbtn fr">查询报名情况</a> </div>
	</div>
	<div class="clear"></div> 
	 <div class="cmain"> 
	 <h3>${course.name }获奖成绩公布</h3>
	 
	 <div class="contentmain pt20">
	 <!------->
	   
	   <c:if test="${not empty noData && 'yes' eq noData}">
	   		<div class="gul" style="border-bottom:1px dotted #ccc">
	   			没有找到相关${course.name }的报名信息。
	   		</div>
	   </c:if>
	   
	   <%-- <c:forEach items="${joins }" var="join">
	   <div class="gul" style="border-bottom:1px dotted #ccc">
	  	 <div class="fli"> 选手姓名：${join.joiner }</div>
	  	 <div class="fli"> 展示类别：${join.course.name }</div>
		 <div class="fli"> 组别：${join.groupTypeName }</div>
		 <div class="fli"> 展示方式：${join.joinTypeName }</div>
		 <div class="fli"> ${join.course.sign eq 'paint'?'展示类型':'展示大类'}：${join.bigCategoryName }</div>
		 <div class="fli" style="display: ${join.course.sign eq 'paint'?'none':'block'}"> 展示小类：${join.smallCategoryName}</div>
		 <div class="fli"> 推选学校：${join.school}</div>
		 <div class="fli"> 备注(初选地点)：${empty join.remarks ? '暂无':join.remarks}</div>
		 <div class="fli"> 家长姓名：${join.register }</div>
		 <div class="fli"> 家长电话：${join.mobile }</div>
		 <div class="fli"> 报名时间：<fmt:formatDate value="${join.order.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></div>
		 <div class="fli"> 订单号：${join.order.orderNo}</div>
		 <div class="fli"> 状态：${'0' eq join.order.status?'未支付':'1' eq join.order.status?'已完成（已支付）':'2' eq join.order.status ? '支付失败':'支付取消'}</div>
		 <div class="fli"> 成绩：${(empty join.award || empty join.award.award) ?'暂未出':join.award.award}</div>
		 <c:if test="${('0' eq join.order.status || '-1' eq join.order.status) && true eq isPcPay}">
			 <br/>
			 <button type="button"  onclick="toQRcodePay('${join.order.id}');">去支付</button>
	     	 </div>
     	 </c:if>
		 <Div class="fli"> </Div>
	  </div>
	  </c:forEach> --%>
	  
	  <c:forEach items="${awards }" var="award">
	   <div class="gul" style="border-bottom:1px dotted #ccc">
	  	 <div class="fli"> 选手姓名：${award.joiner }</div>
	  	 <div class="fli"> 展示类别：${award.course.name }</div>
		 <div class="fli"> 组别：${award.groupTypeName }</div>
		 <div class="fli"> 展示方式：${award.joinTypeName }</div>
		 <div class="fli"> ${award.course.sign eq 'paint'?'展示类型':'展示大类'}：${award.bigCategoryName }</div>
		 <div class="fli" style="display: ${award.course.sign eq 'paint'?'none':'block'}"> 展示小类：${award.smallCategoryName}</div>
		 <div class="fli"> 推选学校：${award.school}</div>
		 <div class="fli"> 备注(初选地点)：${empty award.remarks ? '暂无':award.remarks}</div>
		 <div class="fli"> 家长电话：${award.mobile }</div>
		 <div class="fli"> 成绩：${(empty award.award) ?'暂未出':award.award}奖</div>
		 <div class="fli"> 得分情况：${award.score }分</div>
		 <Div class="fli"> </Div>
	  </div>
	  </c:forEach>
	  
	  <br/>
	   
	  <br/><br/>
	 <!-------->
	 </div>
	 </div>
	 
<div class="clear"></div> 
</div>
</body>
</html>